<!DOCTYPE HTML>
<html>
<head>
<#include "WEB-INF/view/_frag/meta.ftl">
<#include "WEB-INF/view/_frag/jscss.ftl">
<title>系统管理员信息</title>
</head>
<body>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>系统管理<span class="c-gray en">&gt;</span> 个人信息 <a class="btn btn-success radius r" style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<article class="page-container">
	<form id="form-member-add" class="form form-horizontal"  action="${basePath}/systemUser/modify" method="post" enctype="multipart/form-data">
	<input type="hidden" name="systemUser.id" value="${systemUser.id}"/>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>用户名：</label>
			<div class="formControls col-xs-8 col-sm-6">
				<input type="text" class="input-text"   placeholder="" id="" name="systemUser.login_name" value="${systemUser.login_name}" readonly="readonly">				 
			</div>
		</div>	 
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>真实姓名：</label>
			<div class="formControls col-xs-8 col-sm-6">
				<input type="text" class="input-text" name="systemUser.real_name" value="${systemUser.real_name}">
			</div>
		</div>
		
		
				
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>性别：</label>
			<div class="formControls col-xs-8 col-sm-6">
				<span class="select-box" style="width:130px">
					<select class="select valid" size="1" name="systemUser.sex" aria-required="true" aria-invalid="false" style="width:120px">
						<option value="-1">请选择</option>
						<#list page.sexs as sexs>
							<#if systemUser.sex == sexs.c_key>
								<option value="${sexs.c_key}" selected="selected">${sexs.c_value}</option>
							<#else>
								<option value="${sexs.c_key}">${sexs.c_value}</option>
							</#if>
						</#list>
					</select>
				</span>
				<small class="text-danger">${error_role}</small>
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>手机号码：</label>
			<div class="formControls col-xs-8 col-sm-6">
				<input type="text" class="input-text" name="systemUser.mobile" value="${systemUser.mobile}">
			</div>
		</div>
		
		<!-- 
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>角色：</label>
			<div class="formControls col-xs-8 col-sm-6">
				<span class="select-box" style="width:130px">
					<select class="select valid" size="1" name="systemUser.role_id" aria-required="true" aria-invalid="false" style="width:120px">
						<option value="-1">请选择</option>
						<#list page.role as data>
							<#if systemUser.role_id == data.id>
								<option value="${data.id}" selected="selected">${data.name}</option>
							<#else>
								<option value="${data.id}">${data.name}</option>
							</#if>
						</#list>
					</select>
				</span>
				<small class="text-danger">${error_role}</small>
			</div>
		</div>
		 -->
		
		<div class="row cl">
			<div class="text-r col-xs-2 col-sm-2 col-xs-offset-4 col-sm-offset-4">
				<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;" />
			</div>
		</div>
	</form>
</article>

<script type="text/javascript">
	$(function(){
		$("#form-member-add").validate({
			rules:{
				'member.real_name':{
					required:true,
					minlength:2,
					maxlength:16
				},
			} 
		});
	});
</script> 
<!--/请在上方写此页面业务相关的脚本-->
 
</body>
</html>